<?php
header('content-type:text/html;charset=utf-8');
// 身份验证
session_start();
if(!isset($_SESSION['admin'])){
	header('Refresh:2;url=back_login.html');
	echo '用户还没登录!';
	die();
}
// 接收数据


$id=isset($_GET['id'])?$_GET['id']:0;

// 组织删除
// 引入数据库
include_once('../dbtools.inc.php');
include_once('../config.php');
$link=create_connection();
$sql="delete from order_tj where tj_id={$id}";
$res=execute_sql($link,'school',$sql);
header('Refresh:1;url=back_order_list.php');
echo '完成！';
	die();


?>